package com.ruoyi.project.module.propertyConstraint.processor.scan;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface PropConstraint {

    /**
     * Bean 名称
     * @return
     */
    String value() default "";

    String name() default "";

    @AliasFor("remark")
   String description() default  "";

    @AliasFor("description")
    String remark() default "";
}
